import { createApp } from "vue"
import App from "./App.vue"
import router from "./router"
import "normalize.css/normalize.css"
import "@/style/index.scss"
import "uno.css"
import element from "@/plugins/element"
import { createPinia } from "pinia"
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"

// import ElementPlus from "element-plus"
// import "element-plus/dist/index.css"

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)

app.use(router).use(pinia).use(element).mount("#app")

import "@/router/permission"
